import { AutoIncrementId, CreateDate, Password, PrimaryUuid, Realname, Tinyint, UpdateDate, Username, Uuid } from "../utils";
import { Entity } from "typeorm";


@Entity({
    name: 'fj_company_user'
})
export class FjCompanyUserEntity {
    @PrimaryUuid()
    id: string;

    @AutoIncrementId()
    uid: number;

    @Uuid()
    company_id: string;

    @Uuid()
    user_id: string;

    @Tinyint()
    status: number;

    @CreateDate()
    create_date: Date;

    @UpdateDate()
    update_date: Date;
}